package com.sumer.psychology.photo.domain.model;

import java.util.List;

/**
 * 照片资源库
 * <p/>
 * User: zhenguang.zhu
 * Date: 2014/8/29
 * Time: 15:22
 */
public interface PhotoRepository {
    PhotoId nextIdentity();

    void add(Photo aPhoto);

    Photo ofPhotoId(PhotoId photoId);

    List<Photo> ofAlbumId(AlbumId albumId);
}
